home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
AIncludes
/
Traps.a
< prev
next >
Wrap
Text File
|
1996-05-01
|
2KB
|
88 lines
;
; File: Traps.a
;
; Contains: A-Trap constants.
;
; Version: Technology: System 7.5
; Release: Universal Interfaces 3.0d3 on Copland DR1
;
; Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
;
; Bugs?: If you find a problem with this file, send the file and version
; information (from above) and the problem description to:
;
; Internet: apple.bugs@applelink.apple.com
; AppleLink: APPLE.BUGS
;
;
IF &TYPE('__TRAPS__') = 'UNDEFINED' THEN
__TRAPS__ SET 1
IF &TYPE('__CONDITIONALMACROS__') = 'UNDEFINED' THEN
include 'ConditionalMacros.a'
ENDIF
;
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Trap OPWORDS are now defined in each manager
;
; Example:
;
; _GetResource OPWORD $A9A0
;
; is now in the file 'Resources.a'
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
IF OLDROUTINENAMES THEN
;
;
; The following equates are for compatibility with old option bits
;
; Example:
; _NewPtr, sys ; old way
;
; The new way is to use the C name:
;
; Examle:
; _NewPtrSys ; new way
;
;
;
; for Device and File Manager routines
immed EQU $200 ; execute immediately, bypass I/O queue
async EQU $400 ; asynchronous, don't wait for completion
;
; for Memory Manager routines
clear EQU $200
sys EQU $400
;
; for string routines
marks EQU $200 ; set to ignore/strip diacriticals
Case EQU $400 ; set for case sensitivity
autoPop EQU $400 ; set to pop an extra return address
;
; for Get/Set & NGet/NSet TrapAddress
newTool EQU $600 ; Toolbox trap, under new ordering
newOS EQU $200 ; OS trap, under new ordering
;
; for HFS routines
newHFS EQU $200
ENDIF
;
; The floating point traps are needed because SANEMacs.a relies on Traps.a
; defining them. We won't be fixing SANEMacs.a, so putting the traps here
; allows developers to use Universal AIncludes more easily.
;
IF ¨ GENERATINGCFM THEN
UnimplementedTrap: EQU $A89F
_Unimplemented: OPWORD $A89F
_FP68K: OPWORD $A9EB
_Elems68K: OPWORD $A9EC
_DecStr68K: OPWORD $A9EE
ENDIF
ENDIF ; __TRAPS__